package frame.service.standard.impl;

import frame.service.standard.CustomConfig;
import frame.service.util.FrameUtil;

import java.util.List;

public class CustomServiceHandler implements CustomConfig {
    public static List<String> services;

    @Override
    public boolean checkCustomRequest(String safeMode, String module, String service, String action) {
        if(services!=null && services.contains(FrameUtil.generateServiceId(safeMode, module, service)))
            return true;
        return false;
    }
}
